#include <stdio.h>
int main()
{
	char str[] = "songyao";
	char *target = str;
	int count = 0;

	while (*target++ != '\0')
	{
		count++;
	}
	
	printf("总数有%d个字符\n",count);
	
	return 0;
}
